﻿using System;
using OA.DBUtility;

namespace OA.Model
{
    /// <summary>
    /// ProjectPhase:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    [MappingTable("ProjectPhase")]
    public partial class ProjectPhaseInfo
    {
        public ProjectPhaseInfo()
        { }
        #region Model
        private int _id;
        private string _name;
        private string _description;
        private int? _parentid;
        private int? _orderid;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("Name")]
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("Description")]
        public string Description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ParentId")]
        public int? ParentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("OrderId")]
        public int? OrderId
        {
            set { _orderid = value; }
            get { return _orderid; }
        }
        [DataField("InternalType")]
        public int InternalType { get; set; }
        #endregion Model

    }
}

